﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Report_Change_AreaUnit_Detail.aspx.cs"
    Inherits="EcSalseManage.EcSalse.Report_Change_AreaUnit_Detail" EnableEventValidation="false" %>
<%@ Register Src="../PageCommon/Report_Tab.ascx" TagName="Report_Tab" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>项目销售管理系统-变更面积</title>
    <link href="/css/skin.css" type="text/css" rel="stylesheet">

    <script language="javascript" type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
     <script language="javascript" type="text/javascript" src="/js/jquery-1.6.2.min.js"></script>
    <script type="text/javascript">
        function chklReport_Adjust_Validation(sender, args) {
            // CustomValidator控件通过自定义函数的参数args属性IsValid来判断是否验证通过
            args.IsValid = ($("#chklReport_Adjust input:checked").length >0);
        } 
    </script>
</head>
<body>
       <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="17" valign="top" background="../images/mail_leftbg.gif">
                <img src="../images/left-top-right.gif" width="17" height="29" />
            </td>
            <td valign="top" background="../images/content-bg.gif">
               <uc1:Report_Tab ID="Report_Tab1" runat="server" Visible="False" />
            </td>
            <td width="16" valign="top" background="../images/mail_rightbg.gif">
                <img src="../images/nav-right-bg.gif" width="16" height="29" />
            </td>
        </tr>
        <tr>
            <td valign="middle" background="../images/mail_leftbg.gif">
                &nbsp;
            </td>
            <td valign="top" bgcolor="#F7F8F9">
                <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td colspan="4" valign="top">
                     
                            <center>
                            <table>
                                <tr>
                                        <td align="left">
                                            <p>
                                            项目名称：<asp:Label ID="lblProjectName" runat="server" Text=""></asp:Label>
                                            </p>
                                        </td>
                                    </tr>
                                <tr>
                                    <td align="center" colspan="4" style="border-bottom: 1px solid #cccccc;">
                                        <span id="lblTitle" style="font-size: 28px;">
                                            <asp:Label ID="lblTitle" runat="server" Text=""></asp:Label></span><br />
                                        <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        成交日期
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtReport_Change_AreaUnit_ExchangeDate" runat="server" CssClass="Wdate"
                                            onclick="WdatePicker({dateFmt:'yyyy/MM/dd'})"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtReport_Change_AreaUnit_ExchangeDate"
                                            Display="None" ErrorMessage="成交日期不能为空！"></asp:RequiredFieldValidator>
                                    </td>
                                    <td>
                                        调整内容
                                    </td>
                                    <td>
                                        <asp:CheckBoxList ID="chklReport_Adjust" runat="server" Enabled="true" RepeatDirection="Horizontal">
                                        </asp:CheckBoxList>
                                        <asp:CustomValidator ID="CustomValidator1" runat="server"  ClientValidationFunction="chklReport_Adjust_Validation" Display="None" ErrorMessage="调整内容不能为空"></asp:CustomValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        原成交日期
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtReport_Change_AreaUnit_FormlyerExchangeDate" runat="server" CssClass="Wdate"
                                            onclick="WdatePicker({dateFmt:'yyyy/MM/dd'})"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" ControlToValidate="txtReport_Change_AreaUnit_FormlyerExchangeDate"
                                            Display="None" ErrorMessage="原成交日期不能为空！"></asp:RequiredFieldValidator>
                                    </td>
                                    <td>
                                        原成交编号
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtReport_Change_AreaUnit_FormlyerReportNO" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtReport_Change_AreaUnit_FormlyerReportNO"
                                            Display="None" ErrorMessage="原成交编号不能为空！"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        单位
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtReport_Change_AreaUnit_Unit" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtReport_Change_AreaUnit_Unit"
                                            Display="None" ErrorMessage="单位不能为空！"></asp:RequiredFieldValidator>
                                    </td>
                                    <td>
                                        原成交资料(A)
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtReport_Change_AreaUnit_FormlyerData" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtReport_Change_AreaUnit_FormlyerData"
                                            Display="None" ErrorMessage="原成交资料(A)不能为空！"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        增加成交资料(B)
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtReport_Change_AreaUnit_UpdateData" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtReport_Change_AreaUnit_UpdateData"
                                            Display="None" ErrorMessage=" 增加成交资料(B)不能为空！"></asp:RequiredFieldValidator>
                                    </td>
                                    <td>
                                        减少成交资料(C)
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtReport_Change_AreaUnit_ReduceData" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtReport_Change_AreaUnit_ReduceData"
                                            Display="None" ErrorMessage=" 减少成交资料(C)不能为空！"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        现成交资料(D=A+B-C)
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtReport_Change_AreaUnit_NowData" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtReport_Change_AreaUnit_NowData"
                                            Display="None" ErrorMessage=" 现成交资料(D=A+B-C)不能为空！"></asp:RequiredFieldValidator>
                                    </td>
                                    <td>
                                        调整原因
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtReport_Change_AreaUnit_AdjustReason" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtReport_Change_AreaUnit_AdjustReason"
                                            Display="None" ErrorMessage=" 调整原因不能为空！"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4" align="center">
                                        <asp:Button ID="btnSave" runat="server" Text="保存" CausesValidation="true"  onclick="btnSave_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
                                        <input id="btnReset" runat="server" type="reset" value="重置" />
                                        <asp:Button  ID="btnDelete" runat="server" onclick="btnDelete_Click" Text="删除"   Visible="False" />&nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:Button ID="btnAudit" runat="server" OnClientClick="if(confirm('是否确定审核通过？')){return true;}else{return false;}" Text="项经审核" onclick="btnAudit_Click" />
&nbsp;<asp:ValidationSummary ID="ValidationSummary1" ShowMessageBox="true" ShowSummary="false"
                                            runat="server" />
                                    </td>
                                </tr>
                            </table>
                            </center>
                          
                        </td>
                    </tr>
        </tr>
        <tr>
            <td height="40" colspan="4">
                <table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                    <tr>
                        <td>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td width="2%">
                &nbsp;
            </td>
            <td width="51%" class="left_txt">
                <img src="../images/icon-mail2.gif" width="16" height="11">
                客户服务邮箱：servers@centaline.com<br>
                <img src="../images/icon-phone.gif" width="17" height="14">
                官方网站：http://www.centaline.com.cn/
            </td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    </td>
    <td background="../images/mail_rightbg.gif">
        &nbsp;
    </td>
    </tr>
    <tr>
        <td valign="bottom" background="../images/mail_leftbg.gif">
            <img src="../images/buttom_left2.gif" width="17" height="17" />
        </td>
        <td background="../images/buttom_bgs.gif">
            <img src="../images/buttom_bgs.gif" width="17" height="17">
        </td>
        <td valign="bottom" background="../images/mail_rightbg.gif">
            <img src="../images/buttom_right2.gif" width="16" height="17" />
        </td>
    </tr>
    </table>
      </form>
</body>
</html>
